adTempus API
PreviousUpNext
IADTSecuredObject::SupportedSecurityActions Method

Gets a list of security actions supported by the object.

C++
HRESULT SupportedSecurityActions([out,retval] BSTR * securityActionsList);
C#
SupportedSecurityActions([out,retval] BSTR securityActionsList);
Visual Basic
Sub SupportedSecurityActions(securityActionsList As [out,retval] BSTR)

This method returns an XML fragment that describes the security actions supported by this object. This list will conform to the following XML schema:

    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="supportedSecurityActions">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="action" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="description" type="xs:string"/>
                            </xs:sequence>
                            <xs:attribute name="id">
                                <xs:simpleType>
                                    <xs:restriction base="xs:string">
                                        <xs:enumeration value="saNone"/>
                                        <xs:enumeration value="saList"/>
                                        <xs:enumeration value="saView"/>
                                        <xs:enumeration value="saAdd"/>
                                        <xs:enumeration value="saExecute"/>
                                        <xs:enumeration value="saHoldRelease"/>
                                        <xs:enumeration value="saModify"/>
                                        <xs:enumeration value="saConnect"/>
                                        <xs:enumeration value="saUseSystemAccount"/>
                                        <xs:enumeration value="saDelete"/>
                                        <xs:enumeration value="saAssociate"/>
                                        <xs:enumeration value="saAdminister"/>
                                        <xs:enumeration value="saChangeOwner"/>
                                        <xs:enumeration value="saFullControl"/>
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>

 

For example, the list returned by a Job will be similar to the following:

    <supportedSecurityActions>
        <action id="saFullControl">
            <description>Full Control</description>
        </action>
        <action id="saList">
            <description>List/Reference</description>
        </action>
        <action id="saView">
            <description>View</description>
        </action>
        <action id="saModify">
            <description>Modify</description>
        </action>
        <action id="saDelete">
            <description>Delete</description>
        </action>
        <action id="saExecute">
            <description>Execute/Terminate</description>
        </action>
        <action id="saHoldRelease">
            <description>Hold/Release</description>
        </action>
        <action id="saAdminister">
            <description>Administer Security</description>
        </action>
        <action id="saChangeOwner">
            <description>Change Owner</description>
        </action>
    </supportedSecurityActions>
adTempus API Reference version 3.0.0.0, revised 10/30/2008